<!DOCTYPE html>
<html lang="{:get_lang()}">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>{:C('APPLACTION_NAME')}{$heading_title}</title>
    <link href="__STATIC__/font-awesome/css/font-awesome.min.css" rel="stylesheet">
    <link href="__STATIC__/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/style.css">
    <script src="__STATIC__/js/jquery.min.js"></script>
    <script src="__STATIC__/bootstrap/js/bootstrap.min.js"></script>
    <link rel="icon" type="image/png" href="__STATIC__/image/favorite.png">
    <!--[if lt IE 9]>
      <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
  <body>
    <header id="header" class="navbar navbar-static-top">
      <div class="navbar-header">
        <a href="./" class="navbar-brand">{:L('appl_name')}</a>
      </div>
    </header>
    <div class="container-fluid login-container">
      <div class="row">
        <div class="col-sm-offset-4 col-sm-4">
          <div class="panel panel-default">
            <div class="panel-heading">
              <h1 class="panel-title">{:L('heading_title')}</h1>
            </div>
            <div class="panel-body">
              <if condition="isset($msg['warning_login'])">
                <div class="alert alert-danger"><i class="fa fa-exclamation-circle"></i>{$msg['warning_login']}
                <button type="button" class="close" data-dismiss="alert">×</button>
                </div>
              </if>
              <form action="__SELF__" method="post" enctype="multipart/form-data">
                  <div class="form-group">
                    <label for="input-username">{:L('entry_username')}</label>
                    <div class="input-group"><span class="input-group-addon"><i class="fa fa-user"></i></span>
                      <input type="text" name="username" value="" placeholder="{:L('entry_username')}" id="input-username" class="form-control">
                    </div>
                  </div>
                  <div class="form-group">
                      <label for="input-password">{:L('entry_password')}</label>
                      <div class="input-group"><span class="input-group-addon"><i class="fa fa-lock"></i></span>
                        <input type="password" name="password" value="" placeholder="{:L('entry_password')}" id="input-password" class="form-control">
                      </div>
                  </div>
                  <div class="text-right">
                    <button type="submit" class="btn btn-primary"><i class="fa fa-key"></i> {:L('button_login')}</button>
                  </div>
                </form>

            </div>
          </div>
        </div>
      </div>
    </div>
  </body>
</html>